package is.glif.fenius.client.connection.beans;


public class YAMLServerInfo {
    private ServerInfo[] servers;
    public YAMLServerInfo() {
        
    }
    public void setServers(ServerInfo[] servers) {
        this.servers = servers;
    }
    public ServerInfo[] getServers() {
        return servers;
    }
    
    public ServerInfo getServerInfo(String id) {
        for (ServerInfo si : this.servers) {
            if (si.getId().equals(id)) {
                return si;
            }
        }
        return null;
    }

}
